<!doctype html>
<html lang="zh">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
    <meta name="generator" content="Hugo 0.84.0">
    <title>在线考试系统</title>

    <link rel="canonical" href="https://getbootstrap.com/docs/5.0/examples/sign-in/">

    

    <!-- Bootstrap core CSS -->
<link href="../static/css/bootstrap.min.css" rel="stylesheet">

    <style>
      .bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
      }

      @media (min-width: 768px) {
        .bd-placeholder-img-lg {
          font-size: 3.5rem;
        }
      }
    </style>

    
    <!-- Custom styles for this template -->
    <link href="../static/css/signin.css" rel="stylesheet">
  </head>
  <body class="text-center">
    
<main class="form-signin">
  <form method="post">
      {% csrf_token %}
    <img class="mb-4" src="../static/bootstrap-logo.svg" alt="" width="72" height="57">
    <h1 class="h3 mb-3 fw-normal">请登录</h1>

    <div class="form-floating">
      <input type="text" class="form-control" id="floatingInput" placeholder="学号/教职工号" name="number">
      <label for="floatingInput">学号/教职工号</label>
    </div>

    <div class="form-floating">
      <input type="password" class="form-control" id="floatingPassword" placeholder="密码" name="password">
      <label for="floatingPassword">密码</label>
    </div>

    <table>
        <tr>
            <td><input type="radio" name="option" value="student" checked="checked">学生</td>
            <td><input type="radio" name="option" value="teacher" >教师</td>
        </tr>
    </table>
      {% if messages %}
        <ul style="list-style: none">
            {% for message in messages %}
                <li style="color: red">{{ message }}</li>
            {% endfor %}

        </ul>
      {% endif %}
      <button class="w-100 btn btn-lg btn-primary" type="submit">登录</button>

    <p class="mt-5 mb-3 text-muted">&copy; 2017–2021</p>
  </form>
</main>


    
  </body>
</html>
